package com.clw.classfile.attribute.info;

import com.clw.classfile.BytesReader;
import com.clw.classfile.attribute.Annotation;

/**
 * Created by chengliwei on 2018/12/27.
 */
public class RuntimeVisibleAnnotations extends AttributeInfo {

    private short numAnnotions;
    private Annotation[] annotations;

    public RuntimeVisibleAnnotations(BytesReader reader) {
        super(reader.readInt());
        this.numAnnotions = reader.readShort();
        this.annotations = new Annotation[numAnnotions];

    }
}
